package com.atguigu.springboot.mapper;

import com.atguigu.springboot.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author： lijun
 * @date： 2020-08-05 23:51
 */
@Mapper
public interface UserMapper {

    List<User> selectAllUser();
    List<User> selectUserById(@Param("id") Long id);
    void updateUserByParam(User user);
    void insertUser(User user);
}
